<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Mews\Captcha\Facades\Captcha;

class CaptchaController extends Controller
{
    public function __invoke()
    {
        // return Captcha::create();
        return $this->success('请求成功', app('captcha')->create('math', true));
    }
}
